//
// Created by 34753 on 2025/6/20.
//

#ifndef FILEUTIL_H
#define FILEUTIL_H

#include <QObject>

class FileUtil : public QObject
{
    Q_OBJECT
public:
    explicit FileUtil(QObject *parent = nullptr);

    Q_INVOKABLE static QString readFile(const QString &filePath);
    Q_INVOKABLE static bool writeFile(const QString &filePath, const QString &content);
};


#endif //FILEUTIL_H
